<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%--
添加产品
--%>

<!DOCTYPE html>
<html lang="en">
<head>
    <title>添加新产品</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="/css/bootstrap.css">
    <script src="/js/bootstrap.js"></script>
    <script src="/js/jquery-3.3.1.js"></script>
    <style type="text/css">
        .content {
            padding: 16px;
            width: 400px;
            margin: auto;
        }
    </style>
</head>
<body>
<div class="content">
    <form class="form-horizontal" role="form" method="post" action="/admdesk">
    <%--<form class="form-horizontal" role="form" method="get">--%>
        <input name="method" value="addnewchanpin" style="display: none">
        <%--biaoti | jiage | xiangou | fenhongcishu | fenhongzhouqi | shengyu | fenhong | paixu | keyong--%>
        <div class="form-group">
            <label for="disabledInput" class="col-sm-2 control-label">
                产品标题
            </label>
            <div class="col-sm-10">
                <input name="biaoti" value="" class="form-control" id="disabledInput" type="text" placeholder="">
            </div>
        </div>

        <div class="form-group">
            <label for="firstname" class="col-sm-2 control-label">产品价格</label>
            <div class="col-sm-10">
                <input name="jiage" value="" type="number" class="form-control" id="firstname"
                       placeholder="">
            </div>
        </div>


        <div class="form-group">
            <label for="firstname3" class="col-sm-2 control-label">库存</label>
            <div class="col-sm-10">
                <input name="shengyu" value="0" type="number" class="form-control" id="firstname3"
                       placeholder="">
            </div>
        </div>

        <div class="form-group">
            <label for="firstname2" class="col-sm-2 control-label">限购(未实现)</label>
            <div class="col-sm-10">
                <input name="xiangou" value="0" type="number" class="form-control" id="firstname2"
                       placeholder="">
            </div>
        </div>

        <div class="form-group">
            <label for="lastname" class="col-sm-2 control-label">每次分红</label>
            <div class="col-sm-10">
                <input name="fenhong" value="" type="number" class="form-control" id="lastname" placeholder="">
            </div>
        </div>

        <div class="form-group">
            <label for="zhifubao" class="col-sm-2 control-label">分红次数</label>
            <div class="col-sm-10">
                <input name="fenhongcishu" value="" type="number" class="form-control" id="zhifubao"
                       placeholder="">
            </div>
        </div>

        <div class="form-group">
            <label for="zhenming" class="col-sm-2 control-label">分红周期(小时)</label>
            <div class="col-sm-10">
                <select name="fenhongzhouqi" class="form-control" id="zhenming">
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="12">12</option>
                    <option value="24">24</option>
                    <option value="48">48</option>
                </select>
            </div>
        </div>

        <div class="form-group">
            <label for="keyong" class="col-sm-2 control-label">排序</label>
            <div class="col-sm-10">
                <input name="paixu" value="" type="number" class="form-control" id="keyong"
                       placeholder="">
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <br>
                <button type="submit" class="btn btn-default">提交</button>
            </div>
        </div>
    </form>

</div>
</body>
</html>
